/**
 *
 * @name 全局配置 测试环境
 * @description 诸如连接后台的host地址，angular的配置项等等
 * @author maikeji
 *
 */

var CONFIG = {
    apiHost: 'http://test.maikeji.cn:4000',

    html5Mode: false,
    visitorHost: 'http://test.maikeji.cn:10001/#/',
    iframeUrl: 'http://test.maikeji.cn:10001/passport.html',
    qnuploader: {
        domain: 'http://7xixj1.com1.z0.glb.clouddn.com/',
        uptokenUrl: 'http://test.maikeji.cn:4000/qiniu/uptoken',
        //uptokenUrl: 'http://api.metalab.cn:3003/upload/token',
        maxSize: '1M'
    },
    qnuploaderImage: {
        domain: 'http://7xixj1.com1.z0.glb.clouddn.com/',
        uptokenUrl: 'http://test.maikeji.cn:4000/qiniu/uptoken',
        //uptokenUrl: 'http://api.metalab.cn:3003/upload/token',
        maxSize: '1M',
        mimeTypes: [
            {title: "Image files", extensions: "jpg,jpeg,gif,png"}
        ]
    },
    qnuploaderVideo: {
        domain: 'http://7xixj1.com1.z0.glb.clouddn.com/',
        uptokenUrl: 'http://test.maikeji.cn:4000/qiniu/uptoken',
        //uptokenUrl: 'http://api.metalab.cn:3003/upload/token',
        maxSize: '20M',
        mimeTypes: [
            {title: "Video files", extensions: "mp4"}
        ]
    },
    froalaOptions: {
        key: 'xB-13szD-8pG-7B-21B3zt==',
        toolbarButtons: ["color", "bold", "italic", "underline", "|", "align", "formatOL", "formatUL", "|", "insertImage"],
        toolbarButtonsMD: ["color", "bold", "italic", "underline", "|", "align", "formatOL", "formatUL", "|", "insertImage"],
        toolbarButtonsSM: ["color", "bold", "italic", "underline", "|", "align", "formatOL", "formatUL", "|", "insertImage"],
        toolbarButtonsXS: ["color", "bold", "italic", "underline", "|", "align", "formatOL", "formatUL", "|", "insertImage"],
        imageInsertButtons: ["imageUpload"],
        language: 'zh_cn',
        imageUploadURL: 'http://test.maikeji.cn:4000/qiniu/upload',
        heightMin: 100
    }
};

